import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'

// 引入request开始
import http from '@/common/request';
import store from "@/common/store";
Vue.prototype.$store = store;
Vue.prototype.$http = http;
// 引入request结束

const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif

import uView from '@/uni_modules/uview-ui'
Vue.use(uView)